package com.neutech.shop.mapper;

import com.neutech.shop.entity.ConditionVO;
import com.neutech.shop.entity.Product;

import java.util.List;

/**
 * @author Neuedu-远哥
 * @version 1.0
 * @date 2021/9/29 9:34
 */
public interface ProductMapper {
    List<Product> selectAll();

    void insert(Product product);

    List<Product> selectByKeywords(String keywords);

    List<Product> searchProductComplex(ConditionVO conditionVO);

    List<Product> lastedProduct(int startIndex);

    Product selectById(Integer id);
}
